package Demo2;

public class Student extends People {

    public Student(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println("Student eat...");
    }
    //方法的重载 - 静态绑定
    public void eat(String stuName){
        System.out.println(stuName+"正在eat...");
    }

    public void show(){
        System.out.println("show 方法...");
    }
}
